.TH std::filesystem::status_known 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::filesystem::status_known \- std::filesystem::status_known

.SH Synopsis
   Defined in header <filesystem>
   bool status_known( std::filesystem::file_status s ) noexcept; \fB(1)\fP \fI(since C++17)\fP

   Checks if the given file status is known, equivalent to s.type() != file_type::none.

.SH Parameters

   s - file status to check

.SH Return value

   true if the given file status is a known file status.

.SH Notes

   Despite the name, the function checks for the file status of file_type::none
   (meaning an error occurred), not file_type::unknown (meaning file exists, but its
   type cannot be determined).

.SH See also

   status         determines file attributes
   symlink_status determines file attributes, checking the symlink target
   \fI(C++17)\fP        \fI(function)\fP
   \fI(C++17)\fP
   status         status of the file designated by this directory entry;
   symlink_status status of the file/symlink designated by this directory entry
                  \fI(public member function of std::filesystem::directory_entry)\fP
